import Vue from 'vue'
import Router from 'vue-router'
import JiraView from '@/pages/tools/JiraView'
import BugView from '@/pages/tools/BugView'
import CoverageView from '@/pages/tools/CoverageView'
import ChangeQutoaView from '@/pages/tools/ChangeQutoaView'
import MockUDPView from '@/pages/tools/MockUDPView'
import CreateMktActivityView from '@/pages/tools/CreateMktActivityView'
import CreateAccountView from '@/pages/tools/CreateAccountView'
import QueryDbView from '@/pages/tools/QueryDbView'
import QueryRedisView from '@/pages/tools/QueryRedisView'
import AddFollowerView from '@/pages/tools/AddFollowerView'
import AddPointView from '@/pages/tools/AddPointView'
import RefreshTimingTaskView from '@/pages/tools/RefreshTimingTaskView'
import QueryMapPointView from '@/pages/tools/QueryMapPointView'
import RewardPenaltyView from '@/pages/tools/RewardPenaltyView'
import ToolsAutoCreatePage from '@/pages/tools/ToolsAutoCreatePage'
import MembershipToolsPage from '@/pages/tools/MembershipToolsPage'
import CAPView from '@/pages/tools/CAPView'
import MasterCAPView from '@/pages/tools/MasterCAPView'

import ScpProjectListView from '@/pages/scp/ScpProjectListView'
import ScpVersionListView from '@/pages/scp/ScpVersionListView'

import ToolsTodoPage from '@/pages/tools/ToolsTodoPage'
import ToolsAutoHistoryPage from '@/pages/tools/ToolsAutoHistoryPage'
import JiraCornView from '@/pages/tools/JiraCornView'


import AdminProjectView from '@/pages/schedulex/admin/AdminProjectView'
import AdminPersionView from '@/pages/schedulex/admin/AdminPersionView'

import GlobalListView from '@/pages/schedulex/global_param/GlobalListView'

import StepExecuteLogView from '@/pages/schedulex/step/StepExecuteLogView'
import StepExecuteListView from '@/pages/schedulex/step/StepExecuteListView'

import CreateTaskView from '@/pages/schedulex/task/CreateTaskView'
import TaskListView from '@/pages/schedulex/task/TaskListView'
import ExecuteListView from '@/pages/schedulex/task/ExecuteListView'
import ExecuteLogView from '@/pages/schedulex/task/ExecuteLogView'

import TaskInstanceListView from '@/pages/schedulex/task_instance/TaskInstanceListView'
import TaskInstanceDetailsView from '@/pages/schedulex/task_instance/TaskInstanceDetailsView'
import TaskInstanceExecuteListView from '@/pages/schedulex/task_instance/TaskInstanceExecuteListView'

import TodoView from '@/pages/schedulex/todo/TodoView'

import CreateAutoTaskPage from '@/pages/autoapi/CreateAutoTaskPage'
import AutoTaskHistoryListPage from '@/pages/autoapi/AutoTaskHistoryListPage'


Vue.use(Router)

export default new Router({
    routes: [{
            path: '/',
            name: 'root',
            component: JiraView
        },
        {
            path: '/CreateAutoTaskPage',
            name: 'CreateAutoTaskPage',
            component: CreateAutoTaskPage
        },
        {
            path: '/MembershipToolsPage',
            name: 'MembershipToolsPage',
            component: MembershipToolsPage
        },
        {
            path: '/AutoTaskHistoryListPage',
            name: 'AutoTaskHistoryListPage',
            component: AutoTaskHistoryListPage
        },
        {
            path: '/JiraView',
            name: 'JiraView',
            component: JiraView
        },
        {
            path: '/BugView',
            name: 'BugView',
            component: BugView
        },
        {
            path: '/CoverageView',
            name: 'CoverageView',
            component: CoverageView
        },
        {
            path: '/ChangeQutoaView',
            name: 'ChangeQutoaView',
            component: ChangeQutoaView
        },
        {
            path: '/MockUDPView',
            name: 'MockUDPView',
            component: MockUDPView
        },
        {
            path: '/CreateAccountView',
            name: 'CreateAccountView',
            component: CreateAccountView
        },
        {
            path: '/QueryDbView',
            name: 'QueryDbView',
            component: QueryDbView
        },
        {
            path: '/QueryRedisView',
            name: 'QueryRedisView',
            component: QueryRedisView
        },
        {
            path: '/AddFollowerView',
            name: 'AddFollowerView',
            component: AddFollowerView
        },
        {
            path: '/AddPointView',
            name: 'AddPointView',
            component: AddPointView
        },
        {
            path: '/RefreshTimingTaskView',
            name: 'RefreshTimingTaskView',
            component: RefreshTimingTaskView
        },
        {
            path: '/QueryMapPointView',
            name: 'QueryMapPointView',
            component: QueryMapPointView
        },
        {
            path: '/RewardPenaltyView',
            name: 'RewardPenaltyView',
            component: RewardPenaltyView
        },
        {
            path: '/CreateMktActivityView',
            name: 'CreateMktActivityView',
            component: CreateMktActivityView
        },
        {
            path: '/ToolsAutoCreatePage',
            name: 'ToolsAutoCreatePage',
            component: ToolsAutoCreatePage
        },
        {
            path: '/ToolsAutoHistoryPage',
            name: 'ToolsAutoHistoryPage',
            component: ToolsAutoHistoryPage
        },
        {
            path: '/ToolsTodoPage',
            name: 'ToolsTodoPage',
            component: ToolsTodoPage
        },
        {
            path: '/TodoView',
            name: 'TodoView',
            component: TodoView
        },
        {
            path: '/TaskListView',
            name: 'TaskListView',
            component: TaskListView
        },
        {
            path: '/TaskInstanceListView',
            name: 'TaskInstanceListView',
            component: TaskInstanceListView
        },
        {
            path: '/TaskInstanceDetailsView',
            name: 'TaskInstanceDetailsView',
            component: TaskInstanceDetailsView
        },
        {
            path: '/AdminProjectView',
            name: 'AdminProjectView',
            component: AdminProjectView
        },
        {
            path: '/AdminPersionView',
            name: 'AdminPersionView',
            component: AdminPersionView
        },
        {
            path: '/CreateTaskView',
            name: 'CreateTaskView',
            component: CreateTaskView
        },
        {
            path: '/ExecuteListView',
            name: 'ExecuteListView',
            component: ExecuteListView
        },
        {
            path: '/GlobalListView',
            name: 'GlobalListView',
            component: GlobalListView
        },
        {
            path: '/ExecuteLogView',
            name: 'ExecuteLogView',
            component: ExecuteLogView
        },
        {
            path: '/StepExecuteListView',
            name: 'StepExecuteListView',
            component: StepExecuteListView
        },
        {
            path: '/StepExecuteLogView',
            name: 'StepExecuteLogView',
            component: StepExecuteLogView
        },
        {
            path: '/TaskInstanceExecuteListView',
            name: 'TaskInstanceExecuteListView',
            component: TaskInstanceExecuteListView
        },
        {
            path: '/CAPView',
            name: 'CAPView',
            component: CAPView
        },
       {
            path: '/MasterCAPView',
            name: 'MasterCAPView',
            component: MasterCAPView
        },
        {
            path: '/ScpProjectListView',
            name: 'ScpProjectListView',
            component: ScpProjectListView
        },
        {
            path: '/ScpVersionListView',
            name: 'ScpVersionListView',
            component: ScpVersionListView
        },
        {
          path: '/JiraCornView',
          name: 'JiraCornView',
          component: JiraCornView
      },
    ]
})
